const baseUrl = 'https://nideshop2.bluej.cn/api/'
const appId = 'wx64541a39bae067c7'
const secret = '0d74054as2bc698a71065a11287d1f8e9'

var api = {
  login: `${baseUrl}auth/loginByWeixin`,
  cart: `${baseUrl}cart/index`,
  cartDelete: `${baseUrl}cart/delete`,
  orderSubmit: `${baseUrl}order/submit`,
  orderList: `${baseUrl}order/list`,
  orderDetail: `${baseUrl}order/detail`,
  saveAddress: `${baseUrl}address/save`,
  addressList: `${baseUrl}address/list`,
  cartUpdate: `${baseUrl}cart/update`,
  cartChecked: `${baseUrl}cart/checked`
}

module.exports = {
  appId,
  secret,
  api,
}